package hibernate.service;


import hibernate.fileControler.MyException;

import java.util.ArrayList;
import java.util.List;


public interface EmmyService {
	List<?> findAll(Object object);
	Object findById(Object object, Long id);
	boolean saveOrUpdate (Object object) throws MyException;
	boolean delete(Object object);  
	List<?> getQuery(String queryName, String propertyName, String Value);
	List<?> getQuery(String queryName, String propertyName, Long Value);
	List<?> getQuery(String query);
	ArrayList<String> getCurrentAygitResList(Object object);
	Object getBean(Object object);
	void clearSession(Object object);
}